#include<bits/stdc++.h>
using namespace std;
int f[3005][3005];
string skey1[3005],skey2[3005];
int n,m;
int main(){
	freopen("replace.in","r",stdin);
	freopen("replace.out","w",stdout);
	int n,m;
	cin >>n>>m;
	while(m--)
		cout << 0<<endl;
	return 0;
} 
